//
//  ELSettingModel.swift
//  WZApp
//
//  Created by evol on 2018/7/3.
//  Copyright © 2018年 evol. All rights reserved.
//

import UIKit
import RxDataSources

enum ELSettingSectionItem {
    case imageNormal(title:String, image:UIImage) //文字 图片
    case imageTurn(title:String, image:UIImage, backImage: UIImage)//文字 图片翻转
}

struct ELSettingSection {
    var header: String
    var items: [ELSettingSectionItem]
}

extension ELSettingSection: SectionModelType{
    typealias Item = ELSettingSectionItem
    init(original: ELSettingSection, items: [Item]) {
        self = original
        self.items = items
    }
}
